/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ca.usask.cs.SimulationModel;

import ca.usask.cs.decisiontree.*;

/**
 *  Object that contains the information needed to run the simulation.
 * @author tonyleung
 */
public class VensimObject implements ModelingAgentObjectInterface{
    private String varName;
    private double value;
    private double time;

    /**
     * Constructor that creates a vensim object from the edge and treeNode
     * @param theTreeNode
     * @param theEdge
     */
    public VensimObject(String theVarName, double theValue, double theTime)
    {

        this.varName = theVarName;
        this.value = theValue;
        this.time = theTime;
    }

    public String getVariableName() 
    {
        return this.varName;
    }

    public double getValue()
    {
        return this.value;
    }

    public double getTime()
    {
        return this.time;
    }

}
